package co.crossoft.util;

import java.util.List;
import java.util.Map;

/**
 * Created by Zero on 8/2/2017.
 * 返回数据构造类
 */
public class JsonReturnMsg{

    private String retCode;
    private String retMsg;
    private List retList;
    private int  totalNum;
    private Map<String,List> retObj;

    public JsonReturnMsg() {
    }

    public JsonReturnMsg(String retCode, String retMsg) {
        this.retCode = retCode;
        this.retMsg = retMsg;
    }

    public void setRetCode(String retCode) {
        this.retCode = retCode;
    }

    public void setRetMsg(String retMsg) {
        this.retMsg = retMsg;
    }

    public void setRetList(List retList) {
        this.retList = retList;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public void setRetObj(Map<String, List> retObj) {
        this.retObj = retObj;
    }

    public String getRetCode() {
        return retCode;
    }

    public String getRetMsg() {
        return retMsg;
    }

    public List getRetList() {
        return retList;
    }

    public Map<String, List> getRetObj() {
        return retObj;
    }

    public int getTotalNum() {
        return totalNum;
    }
}
